object ScalaConversionDemo01 {
  def main(args: Array[String]): Unit = {
    implicit def fun1(double: Double): Int = {
      double.toInt
    }
    val num1: Int = 3.5
    println(num1)
  }
}